package com.biz.primus.commodity.vo.backend;

import com.biz.primus.base.vo.commodity.SaleStatus;
import com.biz.primus.base.enums.SaleChannel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.List;
import java.util.Set;

@Data
@ApiModel("后台商品更新vo")
public class CommodityUpdateVo implements Serializable {

    @ApiModelProperty("商品Id")
    private Long productId;

    @ApiModelProperty("上架渠道")
    private Set<SaleChannel> saleChannel;

    @ApiModelProperty("上架状态")
    private SaleStatus saleStatus;

    @ApiModelProperty("上架生效时间")
    private Timestamp onSaleEffectTime;

    @ApiModelProperty("下架生效时间")
    private Timestamp offSaleEffectTime;

    @ApiModelProperty("商品关联Ids")
    private List<Long> relevanceProductIds;

    @ApiModelProperty("是否显示商品库存")
    private Boolean showStock;

    @ApiModelProperty("显示关联商品")
    private Boolean showRelevant;

    @ApiModelProperty("seo 关键字")
    private String seoKeywords;

    @ApiModelProperty("商品积分")
    private Integer pointsProportion;

    @ApiModelProperty("商品介绍")
    private List<String> introImages;

    @ApiModelProperty("商品 Logo")
    private String logo;

    @ApiModelProperty("商品轮播图")
    private List<String> images;

    @ApiModelProperty("全局排序")
    private Integer globalIdx;

}
